<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>等待分组 - {{trial.trial_name}}</title>
    <link href="/apps/css/bootstrap.min.css" rel="stylesheet">
    <link href="/apps/css/fontawesome-free-6.4.0-web/css/all.css" rel="stylesheet">
    <script src="/apps/js/baidu-tongji-mtx.js"></script>
</head>
<body>
    <div class="container py-4">
        <div class="row mb-4">
            <div class="col">
                <h2>
                    <a href="/apps/trial" class="text-decoration-none">临床研究支持</a>
                    <i class="bi bi-chevron-right"></i>
                    <a href="/apps/trial/my/trials" class="text-decoration-none">我的试验</a>
                    <i class="bi bi-chevron-right"></i>
                    等待分组
                </h2>
            </div>
        </div>

        <div class="card mb-4">
            <div class="card-body">
                <h3 class="card-title">{{trial.trial_name}}</h3>
                <div class="card-text mb-3">{{{trial.description}}}</div>
                <div class="row">
                    <div class="col-md-4">
                        <small class="text-muted">试验代码：{{trial.trial_code}}</small>
                    </div>
                    <div class="col-md-4">
                        <small class="text-muted">开始日期：{{trial.start_date}}</small>
                    </div>
                    <div class="col-md-4">
                        <small class="text-muted">结束日期：{{#if trial.end_date}}{{trial.end_date}}{{else}}-{{/if}}</small>
                    </div>
                </div>
            </div>
        </div>


        <div class="card mb-4">
            <div class="card-body">
                <h4 class="card-title">等待分组须知</h4>
                <div class="card-text">
                </div>
            </div>
        </div>

        <div class="card">
            <div class="card-body">
                <h4 class="card-title">入组信息</h4>
                <div class="row">
                    <div class="col-md-4">
                        <div class="alert alert-info">
                            <h5 class="alert-heading">等待分组流程</h5>
                            <ol class="mb-0">
                                <li>添加项目助理微信进行分组</li>
                                <li>项目助理审核入组登记信息</li>
                                <li>确认无误后，分配试验组别</li>
                                <li>分组完成后，开始参与试验</li>
                            </ol>
                        </div>
                    </div>
                    <div class="col-md-4">
                        {{{trial.confirm_tip}}}
                    </div>
                    <div class="col-md-4">
                        <h5> 分组序列号 {{subject.user_id}}-{{subject.subject_no}}</h5>
                        <p>
                            报名时间： {{formatDate subject.apply_time "YYYY-MM-DD HH:mm"}}
                            <br>
                            登记时间：{{formatDate subject.entry_time "YYYY-MM-DD HH:mm"}}
                        </p>
                    </div>
                </div>

                <div class="mt-4">
                    <a href="/apps/trial/my/trials" class="btn btn-secondary">返回列表</a>
                </div>
            </div>
        </div>
    </div>

    <script src="/apps/js/bootstrap.bundle.min.js"></script>
</body>
</html> 
